﻿using System.Collections.Generic;
using SymbolIntegration.core;

namespace AnalyticIntegration.batch
{
    internal class TermalSurfaceData
    {
        public Dictionary<string, Expression> NormalVector = new Dictionary<string, Expression>();
        public string FunctionVariable;
        public Expression SurfaceExpression;
        public Dictionary<string, KeyValuePair<Expression, Expression>> OtherVariablesForIntegrateWithBounds = new Dictionary<string, KeyValuePair<Expression, Expression>>();

        public IntegrateSurfaceData GetIntegrateSurfaceData(Expression mainExpression)
        {
            var data = new IntegrateSurfaceData();
            data.MainExpression = mainExpression;
            data.SurfaceExpression = SurfaceExpression;
            data.OtherVariablesForIntegrateWithBounds = OtherVariablesForIntegrateWithBounds;
            data.IntegratedVariable = FunctionVariable;
            return data;
        }
    }
}